mmc: fix ERASE_GRP_DEF handling
authorHannes Petermaier <[email protected]>
Fri, 8 Aug 2014 07:47:22 +0000 (09:47 +0200)
committerPantelis Antoniou <[email protected]>
Fri, 3 Oct 2014 14:26:49 +0000 (17:26 +0300)
commit021a80559f4293368558cc10dbbc75b26ecab059
tree32af9f8715d672946d81c902844994a246aeed95
parent282a82e8a10ce6ef132d7a809101fdaed951001c
mmc: fix ERASE_GRP_DEF handling

if we set manually this bit on the eMMC card using mmc_switch(...),
we also have to set it within our (before read) internal structure
'ext_csd'.

Otherwise following checks on this will fail.

Acked-by: Pantelis Antoniou <[email protected]>
Signed-off-by: Hannes Petermaier <[email protected]>
drivers/mmc/mmc.c